#import "QuenchIlluminateCell.h"


@implementation QuenchIlluminateCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self) {

		self.selectionStyle = UITableViewCellSelectionStyleNone;
		//self.contentView.backgroundColor = UIColor.whiteColor;

		//: 初始化UI布局
		[self volatileSetupViews];
	}
	return self;
}

- (void)setJewelHumble:(QuenchIlluminateModel *)jewelHumble {
	_jewelHumble = jewelHumble;

	//: 配置cell的UI

	self.xenialFlowLabel.text = [jewelHumble.kiteVortexGrasp stringValue];

	self.blazeLabel.text = jewelHumble.hologramRadiant;

}
- (UILabel *)xenialFlowLabel {
	if (!_xenialFlowLabel) {
	
        _xenialFlowLabel = [UILabel new];
        _xenialFlowLabel.text = @"label_0";
        _xenialFlowLabel.font = [UIFont systemFontOfSize:19 weight:UIFontWeightRegular];
        _xenialFlowLabel.textColor = [UIColor colorWithRed:26/255.0 green:198/255.0 blue:23/255.0 alpha:1.0];
        _xenialFlowLabel.textAlignment = NSTextAlignmentLeft;
        _xenialFlowLabel.numberOfLines = 3;
	}
	return _xenialFlowLabel;
}

- (UITextField *)prismOpulentMellowTextField {
	if (!_prismOpulentMellowTextField) {
	
        _prismOpulentMellowTextField = [[UITextField alloc] init];
	}
	return _prismOpulentMellowTextField;
}

//: hopeEuphoriaRadiance 的点击事件
- (void)action_4 {}

//: _gratitudeBtn 的点击事件
- (void)action_5 {}

- (UIButton *)gratitudeBtn {
	if (!_gratitudeBtn) {
	
        _gratitudeBtn = [[UIButton alloc] init];
        _gratitudeBtn.size = CGSizeMake(91, 186);
        _gratitudeBtn.left = 23;
        _gratitudeBtn.top = 8;
        UIImage *prism = [UIImage imageNamed:@"images/icon_5.png"];
        if (prism) {
	        [_gratitudeBtn setImage:prism forState:UIControlStateNormal];
        }
        [_gratitudeBtn setTitle:@"button_5" forState:UIControlStateNormal];
        [_gratitudeBtn setTitle:@"button_selected_5" forState:UIControlStateSelected];
        [_gratitudeBtn setTitleColor:[UIColor colorWithRed:148/255.0 green:6/255.0 blue:220/255.0 alpha:0.7] forState:UIControlStateNormal];
        [_gratitudeBtn setTitleColor:[UIColor colorWithRed:100/255.0 green:210/255.0 blue:92/255.0 alpha:0.7] forState:UIControlStateSelected];
        [_gratitudeBtn addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
	}
	return _gratitudeBtn;
}

- (void)volatileSetupViews {
	//: 描述_0
	[self.contentView addSubview:self.xenialFlowLabel];
	[self.xenialFlowLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(183);
		make.height.mas_equalTo(178);
		make.top.equalTo(@(10));
		make.bottom.equalTo(@(15));
	}];

	//: 描述_1
	[self.contentView addSubview:self.prismOpulentMellowTextField];
	[self.prismOpulentMellowTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(65);
		make.height.mas_equalTo(138);
		make.top.equalTo(@(24));
		make.bottom.equalTo(@(15));
	}];


    //: 描述_2
    self.blazeLabel = [[UILabel alloc] init];
    self.blazeLabel.frame = CGRectMake(33, 30, 124, 149);
    self.blazeLabel.text = @"label_2";
    self.blazeLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
    self.blazeLabel.textColor = [UIColor colorWithRed:198/255.0 green:91/255.0 blue:82/255.0 alpha:0.6];
    self.blazeLabel.textAlignment = NSTextAlignmentRight;
    self.blazeLabel.numberOfLines = 0;
    [self.contentView addSubview:self.blazeLabel];


    //: 描述_3
    self.ponderBlazeTextField = [[UITextField alloc] init];
    [self.contentView addSubview:self.ponderBlazeTextField];
	[self.ponderBlazeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(139);
		make.height.mas_equalTo(113);
		make.bottom.equalTo(@(19));
	}];


    //: 描述_4
    UIButton *hopeEuphoriaRadiance = [[UIButton alloc] init];
    UIImage *artistryXylophoneButterfly = [UIImage imageNamed:@"images/icon_4.png"];
    if (artistryXylophoneButterfly) {
	    [hopeEuphoriaRadiance setImage:artistryXylophoneButterfly forState:UIControlStateNormal];
    }
    [hopeEuphoriaRadiance setTitle:@"button_4" forState:UIControlStateNormal];
    [hopeEuphoriaRadiance setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [hopeEuphoriaRadiance setTitleColor:[UIColor colorWithRed:151/255.0 green:19/255.0 blue:151/255.0 alpha:0.8] forState:UIControlStateNormal];
    [hopeEuphoriaRadiance setTitleColor:[UIColor colorWithRed:173/255.0 green:80/255.0 blue:233/255.0 alpha:0.8] forState:UIControlStateSelected];
    [hopeEuphoriaRadiance addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    self.pulseDabbleStillnessBtn = hopeEuphoriaRadiance;
    [self.contentView addSubview:hopeEuphoriaRadiance];
	[self.pulseDabbleStillnessBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(165);
		make.height.mas_equalTo(90);
		make.top.equalTo(@(21));
		make.bottom.equalTo(@(26));
	}];

	//: 描述_5
	[self.contentView addSubview:self.gratitudeBtn];
}


@end